//
//  UILabel+Extension.swift
//  HMWeibo007
//
//  Created by TTang on 15/7/16.
//  Copyright © 2015年 shanyu. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(fontSize:CGFloat,color:UIColor,mutiLines: Bool = false ){
        
        self.init()
        
        font = UIFont.systemFontOfSize(fontSize)
        textColor = color
        
        if mutiLines {
           numberOfLines = 0
        }
    }

}
